#if !defined(SM__PLAYER_H)
#define SM__PLAYER_H

#include "swagme.h"
#include "Character.h"
#include <map>

class Swag;

class Player : public Character {
private:
  map<sm_swag_type,int> mSwagCounters;
  int mPoints;
  double mBling;

public:
  Player(Sprite* ps, int _x, int _y, double _unitsPerSec);
//    Player(const Player& p);

  sm_cd_object getObjectType() const { return sm_cdo_player; }

  void Update(Game*, Uint32 prevTick, Uint32 thisTick);
  void PickupSwag(const Swag& );

  int GetPoints() const { return mPoints; }
  int GetSwagCount(const sm_swag_type& type) const;
  double GetBling() const { return mBling; }
  void SetBling(double _newBling);
};

#endif // SM__PLAYER_H
